package demo2;

/**
 * @ClassDescription:
 * @JdkVersion: 1.8
 * @Author: 李白
 * @Created: 2024/4/24 22:41
 */
public class KeyBoard implements USB{
    @Override
    public void openDevice() {
        System.out.println("插上键盘");
    }

    @Override
    public void closeDevice() {
        System.out.println("关上键盘");
    }//类名大驼峰
    public void input(){
        System.out.println("敲击键盘");
    }
}
